home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / networking / news / modhdr.lha / modhdr.doc next >
Encoding:
Text File  |  1995-03-09  |  2.1 KB  |  65 lines

  1. modhdr.rexx
  2. -----------
  3.  
  4. WHAT IT DOES
  5.  
  6.      This AREXX script provides an easy way to set message headers in GRn 
  7. without having to move up to the headers section in your editor and edit 
  8. manually.  (Seemed to me a tad silly for a GUI newsreader to have such a
  9. horrible-looking way to edit headers - if I wanted to edit manually I'd
  10. use rn :) ) It also lets you automatically change a "From:" header that
  11. is in error (such as what may occur if you are using TIA or dynamic SLIP).
  12.  
  13. WHAT YOU NEED
  14.  
  15.      * ARexx  (duh :) )
  16.      * GRn installed  (double duh :) )
  17.      * RexxReqTools installed (look on Aminet if you don't have it)
  18.  
  19. INSTALLATION
  20.  
  21.      Installation of this script is fairly straightforward.  First, copy the
  22. script where you want it (I use inet:c).  Then, set environment variables 
  23. as follows:
  24.  
  25.      DRMEDITOR = the full pathname of your preferred editor.
  26.  
  27.                  Note: This must be an editor that doesn't return
  28.                        to the shell until after you're done with
  29.                        it ...
  30.  
  31.      DRMTIA = YES if you'd like modhdr to substitute into the "From:" 
  32.               header.
  33.  
  34.      DRMREAL = your real email address
  35.  
  36.      NEWSEDITOR = sys:rexxc/rx pathname of modhdr.rexx
  37.      
  38.      As an example, in my user-startup I have:
  39.  
  40.      setenv DRMEDITOR "sys:utilities/ann"  
  41.      setenv DRMTIA "YES"
  42.      setenv DRMREAL "charlet@hubcap.clemson.edu (Charles E Taylor IV)"
  43.      setenv NEWSEDITOR "sys:rexxc/rx inet:c/modhdr.rexx"
  44.  
  45. USAGE
  46.  
  47.      This much is obvious the next time you use GRn. :)
  48.  
  49.      The script has been modified a bit to save some clicking - it no 
  50.      longer asks up front to enter subject/newsgroups/to/etc if it has
  51.      defaults for these variables.  To change them, just click on the
  52.      appropriate gadget in the "Edit headers?" window that pops up
  53.      after you've edited your message.
  54.      
  55. AUTHOR INFO
  56.  
  57.      Email me at charlet@hubcap.clemson.edu with any questions, comments, or
  58.      bug reports.
  59.  
  60. HISTORY
  61.  
  62. 1-18-95 ... 1st release
  63. 1-31-95 ... 1.01ß ... added some features
  64. 3-8-95  ... 1.02  ... removed the extra carriage returns on every message
  65.